package com.roast.domain;

import java.io.Serializable;

@SuppressWarnings("serial")
public abstract class DomainObject implements Serializable {

    public abstract long getId();

    @SuppressWarnings("rawtypes")
    public abstract Class objectClass();

    public abstract boolean copyObject(Object from);

    @Override
    public abstract String toString();

    public void println() {
        System.out.println(toString());
    }
}
